import { makeAutoObservable } from 'mobx'
// import { http } from '@/utils'
class ChannelStore {
  channelList = []
  constructor() {
    makeAutoObservable(this)
  }
  // article publish 哪里调用这个函数呢？
  loadChannelList = async () => {
    // const res = await http.get('/channels')
    // this.channelList = res.data.channels
    this.channelList = {}
  }
}

export default ChannelStore